package com.xmxsuperstar.app.gg;

public class Statics {

	private long completed;
	private long fileLength;

	private static Statics ins = new Statics();

	private Statics() {
		completed = 0;
	}

	public static synchronized Statics getInstance() {
		return ins;
	}

	public synchronized void addComleted(long newComleted) {
		this.completed += newComleted;
	}

	public long getCompleted() {
		return this.completed;
	}

	public synchronized void setFileLength(long fileLength) {
		this.fileLength = fileLength;
	}

	public long getFileLength() {
		return fileLength;
	}
}
